package com.gimi.cloud.jimi.app.consumer.service;


import com.gimi.cloud.jimi.common.exception.MsgException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * user service层
 * Created by xiankejin on 2017/10/13.
 */
public interface UserService {


    /**
     * 获取注册验证码
     * @param requestData 请求参数
     * @param httpServletResponse
     * @param httpServletRequest
     */
    void getUserRegisterCode(String requestData, HttpServletResponse httpServletResponse, HttpServletRequest httpServletRequest) throws MsgException;

    /**
     * 获取修改密码验证码
     * @param requestData 请求参数
     * @param response
     * @param request
     */
    void getModifypasswordCode(String requestData, HttpServletResponse response, HttpServletRequest request);

    /**
     * 发送用户lbs等数据
     * @param requestData 请求参数
     * @param response
     * @param request
     */
    void getInformation(String requestData, HttpServletResponse response, HttpServletRequest request);

    /**
     * 获取注册协议
     * @param requestData 请求参数
     * @param response
     * @param request
     */
    void getRegistAgreement(String requestData, HttpServletResponse response, HttpServletRequest request);
}
